/*
 * 文件名： DriverMotorData.java
 * 
 * 创建日期： 2016年11月30日
 *
 * Copyright(C) 2016, by <a href="mailto:liws@xingyuanauto.com">liws</a>.
 *
 * 原始作者: liws
 *
 */
package com.moli.iov.protocol.model.realtime;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 驱动电机数据
 *
 * @author <a href="mailto:liws@xingyuanauto.com">liws</a>
 *
 * @version $Revision$
 *
 * @since 2016年11月30日
 */
public class DriveMotorReq implements Serializable{

	 /** 
	 */ 
	public static final long serialVersionUID = 1L;
	
	/**
	 * 驱动电机个数 size = 1
	 */
	public short driveMotorSum;
	
	/**
	 * 驱动电机信息列表
	 */
	public List<DriveMotorInfo> listDriveMotors = new ArrayList<>();
	
	/**
	*
	* @return the driveMotorSum
	*/
	
	public short getDriveMotorSum() {
		return driveMotorSum;
	}
	/**
	*
	* @param driveMotorSum the driveMotorSum to set
	*/
	public void setDriveMotorSum(short driveMotorSum) {
		this.driveMotorSum = driveMotorSum;
	}
	public void setListDriveMotors(List<DriveMotorInfo> listDriveMotors) {
		this.listDriveMotors = listDriveMotors;
	}
	public List<DriveMotorInfo> getListDriveMotors() {
		return listDriveMotors;
	}

	 /**
	 *
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("DriveMotorReq [driveMotorSum=");
		builder.append(driveMotorSum);
		builder.append(", listDriveMotors=");
		builder.append(listDriveMotors);
		builder.append("]");
		return builder.toString();
	}
	
}
